﻿@using sharp_net;
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
    <link rel="shortcut icon" href='@Html.ImgUrl("/images/favicon.ico")' type="image/x-icon" />
    <title>@ViewBag.Title</title>
    @Html.CssDoc("/styles/master.css")
    @RenderSection("style", required: false)
    <!--[if IE 7]><link rel="stylesheet" href='@Html.StaticUrl("/front_net/bootstrap/fortawesome/font-awesome-ie7.css")'><![endif]-->
    @Html.CssDoc("/front_net/module/modernizr.js")
    <script type="text/javascript" src='@Html.StaticUrl("/front_net/seajs/1.3.0/sea.js")'></script>
    <script type="text/javascript">
        seajs.config({
            debug: true,
            alias: {
                'jquery': 'gallery/jquery/1.8.3/jquery',
                'mustache': 'gallery/mustache/0.5.0/mustache',
                'underscore': 'gallery/underscore/1.4.2/underscore',
                'json': 'gallery/json/1.0.2/json',
                'es5-safe': 'es5-safe/0.9.2/es5-safe'
            },
            preload: [
                Function.prototype.bind ? '' : 'es5-safe'
            ],
            map: [
                [/^(.*\/master\.(?:css|js))(?:.*)$/i, '$1?@UrlBuild.Stamp'],
                [/^(.*\/front_net\/amd-jq\/.*\.(?:css|js))(?:.*)$/i, '$1?@UrlBuild.Stamp'],
                [/^(.*\/front_net\/amd\/.*\.(?:css|js))(?:.*)$/i, '$1?@UrlBuild.Stamp']
            ]
        });
        //var glo_cookieUserId = '${(cookieUser.id)!}';
        var stamp = '@UrlBuild.Stamp';
        var glo_staticUrl = '@UrlBuild.StaticDeploy';
        var glo_master = '@UrlBuild.Stamp@Html.Raw(UrlBuild.IsDeploy() ? "/front_net/product/guoqude/1.0.0" : "")/master';
        seajs.use(glo_master, function (main) {
            main.ld_logo()
            main.ld_returnTop()
        })
    </script>
</head>
<body>

    <div class="container">

        <div class="six columns clearfix">
            <div class="head six columns">

            </div>
            <div class="row">
                <div class="four columns alpha">
                @RenderBody()
                </div>
                <div class="two columns omega">
                @RenderSection("sidebar", required: false)
                </div>
            </div>
            <div class="foot six columns">

            </div>
        </div>

        <div class="five columns offset-by-one"></div>

    </div>

    @RenderSection("scripts", required: false)

</body>
</html>